package com.soonoh.simplecube;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class ResultGame extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.result);
		Intent i = getIntent();
		long time = i.getLongExtra("time", 0L);
		int rotCounter = i.getIntExtra("counter", 0);
		TextView textView = (TextView)this.findViewById(R.id.result_text);
		textView.setText("Time: " + time + " and rotation counter: " + rotCounter);
	}

}
